package com.ustb.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 权限
 *
 * @author pyn 2022/5/26
 */
@Data
@TableName("tb_permission")
@Accessors(chain = true)
public class PermissionEntity {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer parentId;
    private String name;
    private String path;
    private String icon;
    private String remark;
}

